﻿@model IEnumerable<SchoolProject2012.Areas.Professeur.Models.QUESTIONEVAL>

@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Shared/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.EVALUATION.LIBEVAL)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LIBQUESTEVAL)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NB_POINT_EVAL)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.EVALUATION.LIBEVAL)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LIBQUESTEVAL)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NB_POINT_EVAL)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.IDQUESTEVAL }) |
            @Html.ActionLink("Details", "Details", new { id=item.IDQUESTEVAL }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.IDQUESTEVAL })
        </td>
    </tr>
}

</table>
@Html.ActionLink("Back to List Evaluation", "Index", new { controller="Evaluation"})